package cn.zc.curriculum.entity;

import java.io.Serializable;

import cn.tools.core.base.entity.SuperEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author keno
 * @since 2022-02-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CurriculumImg extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
      private String id;

    /**
     * 图片路径
     */
    private String imgUrl;

    /**
     * 图片类型，1为封面图，2为头像,3为轮播图
     */
    private Integer imgType;

    /**
     * oss路径
     */

    private String ossUrl;

    /**
     * 文件后缀
     */
    private String endName;
}
